package com.smart.community.region.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量更新房户户型数据传输对象
 * 
 * @author Wu.Liang
 * @since 2025-01-30
 */
@Data
@Schema(description = "批量更新房户户型请求")
public class BatchUpdateHouseTypeDTO {

    @Schema(description = "房户ID列表", required = true)
    @NotEmpty(message = "房户ID列表不能为空")
    private List<Long> householdIds;

    @Schema(description = "户型ID", required = true)
    @NotNull(message = "户型ID不能为空")
    private Long houseTypeId;
}
